iPhone 3.0 WebView Scroll PDF Error - [NSCFDictionary _absoluteLinkURL]
Posted
by DFG
on Stack Overflow
See other posts from Stack Overflow
or by DFG
Published on 2009-08-12T06:31:41Z
Indexed on
2010/03/27
1:43 UTC
Read the original article
Hit count: 464
I have a WebView which loads a PDF file:
[myWebView loadRequest:[NSURLRequest requestWithURL:[NSURL
fileURLWithPath:[[NSBundle mainBundle] pathForResource:fileName
ofType:@"pdf"]isDirectory:NO]]];
It works fine on iPhone OS 2.x but on iPhone 3.0, when I tap the PDF for scrolling, this error appears, and the app crash:
-[NSCFDictionary _absoluteLinkURL]: unrecognized selector sent to instance 0x1c0230 Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFDictionary _absoluteLinkURL]: unrecognized selector sent to instance 0x1c0230'
© Stack Overflow or respective owner